CC = gcc
CFLAGS = -Wall -fPIC -I../../include
LDFLAGS = -shared -ldl -pthread -lssl -lcrypto

.PHONY: all clean

all: plugin.so

plugin.so: plugin.c
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

clean:
	rm -f *.so *.o 